package com.ruoyi.web.controller.common;

import com.alibaba.fastjson2.JSONObject;

public class UrlCommon {

    //抖音获取 1080 p
    public final static String DOUYINGURL = "http://api.suxun.site/api/douyin";
    //微信刷步数
    public final static String WX_STEP_NUMBER = "https://api.qqsuu.cn/api/dm-xiaomi";
    //金额转大写
    public final static String DM_CNMONEY = "https://api.qqsuu.cn/api/dm-cnmoney";
    //油价查询
    public final static String DM_OILPRICE = "https://api.qqsuu.cn/api/dm-oilprice";
    //脑筋急转弯
    public final static String DM_NAOWAN = "https://api.qqsuu.cn/api/dm-naowan";
    //舔狗日记
    public final static String TIAN_GOU = "https://v.api.aa1.cn/api/tiangou/";
    //网易云热评
    public final static String WANG_YI_YUN_REPING = "https://v.api.aa1.cn/api/api-wenan-wangyiyunreping/index.php";
    //号码归属地查询
    public final static String GUI_SHU = "https://v.api.aa1.cn/api/phone/guishu-api.php";
    public final static int CODE = 200;
    //数字多少查询
    public static final String ZI_SHU = "https://v.api.aa1.cn/api/api-zishu/cha.php";
    //车牌归属地查询
    public static final String CAR_NUMBER_FL = "https://v.api.aa1.cn/api/car-number-fl/index.php";
    //身份证解释
    public static final String SFZ = "https://zj.v.api.aa1.cn/api/sfz/";
    //年龄计算生肖星座
    public static final String CALCULATION = "https://zj.v.api.aa1.cn/api/Age-calculation/";
    //网易 MV 获取
    public static final String WY_MV_VIDEO = "https://hub.onmicrosoft.cn/public/video/ncm";
    //小姐姐视频获取
    public static final String XIAO_JIAO_JIAO = "https://tucdn.wpon.cn/api-girl/index.php?wpon=json";
    //ai 解释梦
    public static final String DREAM_EXPLAIN = "https://api.pearktrue.cn/api/dream/";
    //肯德基疯狂星期四文案
    public static final String KFC4="https://api.pearktrue.cn/api/kfc/";
    //二维码生成
    public static final String QRCODE = "https://api.qqsuu.cn/api/dm-qrcode";
    //狗屁不通文案生成
    public static final String DOG_TEXT = "https://api.52vmy.cn/api/wl/s/dog";
    //票房查询
    public static final String PIAO = "https://api.lolimi.cn/API/piao/dy.php?type=json";
    //颜值评分
    public static final String YAN_ZHI = "https://api.lolimi.cn/API/yan/";

    public static final String APIDHW = "https://api.8uid.cn/api/qh.php";
    public static final String BING_YING_AI = "http://ovoa.cc/api/Bing.php";
    //多平台短视频提取
    public static final String ANALYSIS = "https://acid.jiuzige.com.cn/web/index/analysis ";
    //发票信息查询
    public static final String INVOICE_INFO = "https://tools.mgtv100.com/external/v1/invoiceInfo";
    //支付宝到账语音
    public static final String ALIPAY_YY = "https://free.wqwlkj.cn/wqwlapi/alipay_yy.php";


    public static Boolean isCode(String code) {
        if (Integer.parseInt(String.valueOf(JSONObject.parseObject(code).get("code")))==CODE||Integer.parseInt(String.valueOf(JSONObject.parseObject(code).get("code")))==0){
            return true;
        }else {
            return false;
        }
    }

}
